using UnityEngine;
using System.Collections;

public class Destroyer : MonoBehaviour
{
   void OnTriggerStay2D(Collider2D other)
    {
//        int a = Creator.st.Dequeue();
       Control.flag = false;
       ObjectsPool.instance.Remove(other.gameObject);
       Control.curr = Creator.st.Dequeue();
    }
  
}

